<template>
  <div class="row">
    <h1 v-if="userInfo.isInit">请搜索</h1>
    
    <h1 v-if="userInfo.isSearch">正在搜索中</h1>
    <Item v-for="user in userInfo.userList" :key="user.id" v-bind="user" />
  </div>
</template>

<script>
import Item from "./Item/Item.vue";
export default {
  name: "List",
  components: { Item },
  props: ["userInfo"],
};
</script>

<style></style>
